package com.link2room.quintesson.facade;

import com.link2room.common.dto.param.base.BaseParamDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.quintesson.dto.param.manager.TaobaoXroomtypeManagerParamDto;
import com.link2room.quintesson.dto.result.manager.TaobaoXroomtypeDto;

import java.util.List;

/**
 * Created by sss on 2017/4/10.
 */
public interface ITaobaoXroomtypeFacadeService {

    /**
     * 飞猪房型列表
     * @param taobaoXroomtypeManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<TaobaoXroomtypeDto> listTaobaoXroomtype(TaobaoXroomtypeManagerParamDto taobaoXroomtypeManagerParamDto)throws Exception;
    /**
     * 飞猪房型详情
     * @param baseParamDto
     * @return
     * @throws Exception
     */
    TaobaoXroomtypeDto findTaobaoXroomtype(BaseParamDto baseParamDto)throws Exception;

    List<TaobaoXroomtypeDto> saveOrUpdateTaobaoXroomtypeList(TaobaoXroomtypeManagerParamDto taobaoXroomtypeManagerParamDto) throws Exception;

    TaobaoXroomtypeDto saveOrUpdateTaobaoXroomtype(TaobaoXroomtypeManagerParamDto taobaoXroomtypeManagerParamDto) throws Exception;

    void upTaobaoXroomtypeList(TaobaoXroomtypeManagerParamDto taobaoXroomtypeManagerParamDto) throws Exception;

    void upTaobaoXroomtype(TaobaoXroomtypeManagerParamDto taobaoXroomtypeManagerParamDto) throws Exception;

}
